from django.utils.deprecation import MiddlewareMixin


class TestMiddleware1(MiddlewareMixin):
    def procss_request(self, request):
        print('process_request1')

    def process_view(self, request, view_func, view_args, view_kwargs):
        print('process_view1')

    def process_response(self, request, response):
        print('process_response1')
        return response
